package cn.mst.vrs.controller.admin.pay.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 支付单 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PayRespVO {

    @Schema(description = "订单主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "29354")
    @ExcelProperty("订单主键ID")
    private Long orderId;

    @Schema(description = "应付金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("应付金额")
    private BigDecimal dueAmount;

    @Schema(description = "实付金额", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("实付金额")
    private BigDecimal realAmount;

    @Schema(description = "支付状态（0：等待中，1：成功，2：失败）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("支付状态（0：等待中，1：成功，2：失败）")
    private Integer status;

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27362")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}